/**
 * 
 */
package com.feib.stms.service;

import java.util.Date;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.feib.stms.model.DeliveryPayment;
import com.feib.stms.model.DeliveryPaymentSum;
import com.feib.stms.pagination.PaginatedList;

/**
 * @author Jimmy Liu
 * 
 */
@Transactional(readOnly = true)
public interface DeliveryPaymentSumService {

	@Transactional(readOnly = false)
	public int deleteByTempUploadFilePk(Long tempUploadFilePk);

	public PaginatedList<DeliveryPaymentSum> findPaginatedListByPaymentFileContent(
			DeliveryPayment entity, Date deliveryDateFrom,
			Date deliveryDateTo, String amountStatus, 
			List<String> constrainSecuritiesNos,
			PaginatedList<DeliveryPaymentSum> paginatedList);

	public String exportExcelByPaymentFileContent(
			DeliveryPayment entity, Date deliveryDateFrom,
			Date deliveryDateTo, String amountStatus, 
			List<String> constrainSecuritiesNos,
			PaginatedList<DeliveryPaymentSum> paginatedList) throws Exception;
}
